package com.amoby.main.mapper;

import java.util.Map;

import com.amoby.main.entity.Customer;

public interface CustomerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    Customer selectCustomerByBuyer(Map<String, Object> mapint);  //根据客户名查询客户
}